<HTML><HEAD><TITLE>fail</TITLE>
</HEAD><BODY>[ <A HREF="index.html">Control</A> | <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]
<H1>fail</H1>
Does not succeed.  A synonym of false/0.


<DL>
</DL>
<H2>Description</H2>
   Does not succeed.

<P>

<H3>Modes and Determinism</H3><UL>
<LI>fail is failure
</UL>
<H3>Fail Conditions</H3>
Always fails
<H2>Examples</H2>
<PRE>
Success:
      [eclipse]: [user].
       not1(Goal) :- call(Goal),!,fail.
       not1(_).
       user compiled 208 bytes in 0.02 seconds
      [eclipse]: not1(true).
      no.
      [eclipse]: not1(fail).
      yes.

Fail:
     fail.



</PRE>
<H2>See Also</H2>
<A HREF="../../kernel/control/true-0.html">true / 0</A>, <A HREF="../../kernel/control/false-0.html">false / 0</A>
</BODY></HTML>
